/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.fleet.entity;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 事故日志Entity
 * @author 李超辉
 * @version 2018-04-25
 */
public class AccidentInformation extends DataEntity<AccidentInformation> {
	
	private static final long serialVersionUID = 1L;
	private VehicleInformation vehicleInformation;		// 自有车辆
	private VehicleInformation cgh;		// 车挂号
	private String driver;		// 驾驶员
	private String steerMark;		// 驾驶证号
	private String accident;		// 事故描述
	private Date accidentDate;		// 事故日期
	private String accidentSite;		// 事故地点
	private String reporter;		// 报案人
	private String accidentType;		// 事故类型
	private String accidentDuty;		// 事故责任
	private String oneselfLoss;		// 本车损失
	private String thirdPartyLoss;		// 第三者损失
	private String economyLoss;		// 直接经济损失
	private String securityOfficer;		// 保险现场人员
	private String handlingPhone;		// 办案人员电话
	private String insurerPhome;		// 保险现场人员电话
	private String amountPaid;		// 赔款金额
	private Date reparationsDate;		// 赔款日期时间
	private Date closingTime;		// 结案日期时间
	private String pro;  //项目

	public VehicleInformation getCgh() {
		return cgh;
	}

	public void setCgh(VehicleInformation cgh) {
		this.cgh = cgh;
	}

	public String getPro() {
		return pro;
	}

	public void setPro(String pro) {
		this.pro = pro;
	}

	public AccidentInformation() {
		super();
	}

	public AccidentInformation(String id){
		super(id);
	}

	@ExcelField(title="自有车辆", align=2, sort=1)
	public VehicleInformation getVehicleInformation() {
		return vehicleInformation;
	}

	public void setVehicleInformation(VehicleInformation vehicleInformation) {
		this.vehicleInformation = vehicleInformation;
	}
	
	@ExcelField(title="驾驶员", align=2, sort=2)
	public String getDriver() {
		return driver;
	}

	public void setDriver(String driver) {
		this.driver = driver;
	}
	
	@ExcelField(title="驾驶证号", align=2, sort=3)
	public String getSteerMark() {
		return steerMark;
	}

	public void setSteerMark(String steerMark) {
		this.steerMark = steerMark;
	}
	
	@ExcelField(title="事故描述", align=2, sort=4)
	public String getAccident() {
		return accident;
	}

	public void setAccident(String accident) {
		this.accident = accident;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="事故日期", align=2, sort=5)
	public Date getAccidentDate() {
		return accidentDate;
	}

	public void setAccidentDate(Date accidentDate) {
		this.accidentDate = accidentDate;
	}
	
	@ExcelField(title="事故地点", align=2, sort=6)
	public String getAccidentSite() {
		return accidentSite;
	}

	public void setAccidentSite(String accidentSite) {
		this.accidentSite = accidentSite;
	}
	
	@ExcelField(title="报案人", align=2, sort=7)
	public String getReporter() {
		return reporter;
	}

	public void setReporter(String reporter) {
		this.reporter = reporter;
	}
	
	@ExcelField(title="事故类型", align=2, sort=8)
	public String getAccidentType() {
		return accidentType;
	}

	public void setAccidentType(String accidentType) {
		this.accidentType = accidentType;
	}
	
	@ExcelField(title="事故责任", align=2, sort=9)
	public String getAccidentDuty() {
		return accidentDuty;
	}

	public void setAccidentDuty(String accidentDuty) {
		this.accidentDuty = accidentDuty;
	}
	
	@ExcelField(title="本车损失", align=2, sort=10)
	public String getOneselfLoss() {
		return oneselfLoss;
	}

	public void setOneselfLoss(String oneselfLoss) {
		this.oneselfLoss = oneselfLoss;
	}
	
	@ExcelField(title="第三者损失", align=2, sort=11)
	public String getThirdPartyLoss() {
		return thirdPartyLoss;
	}

	public void setThirdPartyLoss(String thirdPartyLoss) {
		this.thirdPartyLoss = thirdPartyLoss;
	}
	
	@ExcelField(title="直接经济损失", align=2, sort=12)
	public String getEconomyLoss() {
		return economyLoss;
	}

	public void setEconomyLoss(String economyLoss) {
		this.economyLoss = economyLoss;
	}
	
	@ExcelField(title="保险现场人员", align=2, sort=13)
	public String getSecurityOfficer() {
		return securityOfficer;
	}

	public void setSecurityOfficer(String securityOfficer) {
		this.securityOfficer = securityOfficer;
	}
	
	@ExcelField(title="办案人员电话", align=2, sort=14)
	public String getHandlingPhone() {
		return handlingPhone;
	}

	public void setHandlingPhone(String handlingPhone) {
		this.handlingPhone = handlingPhone;
	}
	
	@ExcelField(title="保险现场人员电话", align=2, sort=15)
	public String getInsurerPhome() {
		return insurerPhome;
	}

	public void setInsurerPhome(String insurerPhome) {
		this.insurerPhome = insurerPhome;
	}
	
	@ExcelField(title="赔款金额", align=2, sort=16)
	public String getAmountPaid() {
		return amountPaid;
	}

	public void setAmountPaid(String amountPaid) {
		this.amountPaid = amountPaid;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="赔款日期时间", align=2, sort=17)
	public Date getReparationsDate() {
		return reparationsDate;
	}

	public void setReparationsDate(Date reparationsDate) {
		this.reparationsDate = reparationsDate;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="结案日期时间", align=2, sort=18)
	public Date getClosingTime() {
		return closingTime;
	}

	public void setClosingTime(Date closingTime) {
		this.closingTime = closingTime;
	}
	
}